package nc.ui.arap.perfbal.action;

import nc.ui.arap.action.Action;
import nc.ui.arap.action.ActionHandler;
import nc.ui.arap.perfbal.view.QryObjFieldBtns;
import nc.ui.arap.view.ViewContext;
import nc.vo.arap.perfbal.QryObjFieldVO;
import nc.vo.pub.BusinessException;

@Action(code = QryObjFieldBtns.ADD)
public class QryObjFieldAddAction implements ActionHandler<QryObjFieldVO> {

	public void handle(ViewContext<QryObjFieldVO> context) throws BusinessException {
		context.getBatchTabelModel().insert();
		context.synchronizeModel(context.getListPanel().getHeadTable().getRowCount());
	}

}
